﻿using System;
using System.Collections.Generic;
using IDAL.RF.Package;
using Model.RF.Package;

namespace BLL.RF.Package
{
    public class Pack_Label_Print : BaseService<Pack_Label_PrintInfo>
    {
        private static readonly IPack_Label_Print dal = DALFactory.DataAccess.CreatePack_Label_Print();

        public override void SetCurrentRepository()
        {
            CurrentRepository = dal;
        }

        public IList<Pack_Label_PrintInfo> GetPack_Label_Prints_byPackageProductSN(string productSN)
        {
            return dal.GetPack_Label_Prints_byPackageProductSN(productSN);
        }

        public IList<Pack_Label_PrintInfo> GetPack_Label_Prints_byDT(DateTime starttime, DateTime stoptime)
        {
            return dal.GetPack_Label_Prints_byDT(starttime, stoptime);
        }
    }
}
